package com.example.othree.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.othree.entity.PollutionHistoryDataJjjSitesMonth;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface PollutionHistoryDataJjjSitesMonthService extends IService<PollutionHistoryDataJjjSitesMonth> {
    List<PollutionHistoryDataJjjSitesMonth> pollutionAnalyzeDataByDate(String startTime, String endTime, String month, String[] cities);
    ArrayList<Float> pollutionAnalyzeDataByCityForAvg(String startTime, String endTime, String element, String[] cities);
    List<HashMap<String, String>> pollutionAnalyzeDataByCityForEvery(String startTime, String endTime, String element, String[] cities);

    PollutionHistoryDataJjjSitesMonth pollutionForLevel(String startTime, String endTime, String region, String month);
    PollutionHistoryDataJjjSitesMonth pollutionForCount(String startTime, String endTime, String region, String month);
}
